TriggerSource 类别

代表触发的属性。

继承体系

System.Object
  IntervalZero.KINGSTAR.Base.Class.TriggerSource

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
public class TriggerSource
Public Class TriggerSource

 

TriggerSource 类别陈列了以下成员。

建构函式

 名称说明
TriggerSource初始化 TriggerSource 类别的新实例。

属性

 名称说明
DataType以 I/O 及使用者定义的变数作为触发来源时,此为读取的资料类型。
SourceBitOffset以输入及输出作为触发来源时,此为读取的资料偏移。
SourceHandle

以运动作为触发来源时,此为命令所使用的控制代码 (Handle)。

以使用者定义的变数作为触发来源时,此为变数自身。例如:

var addedVar = subsystem.AddDoubleVariable("VAR_TEST", parent);

triggerSource.SourceHandle = addedVar

SourceIndex来源索引,可为轴或 I/O 模组。
SourceType触发使用的来源类型。
Type触发条件。
Value此值为触发用来确认条件是否已满足的值。
Variable以轴及运动作为触发来源时,此为读取的变数。

参见

IntervalZero.KINGSTAR.Base.Class 命名空间